@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#NameCon id="title" name="标题" placeholder="标题"/>
                            </div>
                            <div class="col-sm-2">
                                <#NameCon id="condition" name="id" placeholder="问卷id"/>
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="type" name="类型" >
                                    <option value="">全部</option>
                                    <option value="2">广告提问</option>
                                    <option value="3">商家问卷</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="status" name="状态" >
                                    <option value="">全部</option>
                                    <option value="1">待使用</option>
                                    <option value="2">使用中</option>
                                    <option value="3">审核中</option>
                                    <option value="4">发布中</option>
                                    <option value="5">下架</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="WzQuestionnaire.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="WzQuestionnaireTableToolbar" role="group">
                            @if(shiro.hasPermission("/wzQuestionnaire/add")){
                                <#button name="添加" icon="fa-plus" clickFun="WzQuestionnaire.openAddWzQuestionnaire()"/>
                            @}
                            @if(shiro.hasPermission("/wzQuestionnaire/update")){
                                <#button name="修改" icon="fa-edit" clickFun="WzQuestionnaire.openWzQuestionnaireDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/wzQuestionnaire/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="WzQuestionnaire.delete()" space="true"/>
                            @}
                        </div>
                        <#table id="WzQuestionnaireTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/wz/wzQuestionnaire/wzQuestionnaire.js"></script>
@}
